package com.sbl.bajw.pc.service;

import java.util.HashMap;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.common.MyBatisDao;
import com.sbl.bajw.mapper.StatisticsDao;

@Service
public class StatisticsService {
	
	@Resource
	private MyBatisDao gridDao;
	
	@Resource
	private StatisticsDao dao;
	
	public String StatisticsCamera(HashMap<String, Object> parm){
		String result = gridDao.selectPage(StatisticsDao.class, parm, "StatisticsCamera");
		return result;
	}
	
	public String StatisticsCameraHouse(HashMap<String, Object> parm){
		String result = gridDao.selectPage(StatisticsDao.class, parm, "StatisticsCameraHouse");
		return result;
	}
	
	public String StatisticsCameraAndHouse(HashMap<String, Object> parm){
		String result = gridDao.selectPage(StatisticsDao.class, parm, "StatisticsCameraAndHouse");
		return result;
	}
}
